<template>
  <div class="box">
    <div class="back" @click="back"><van-icon name="arrow-left" /></div>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";

const router = useRouter();

// 点击 放回上一页
function back() {
  router.back();
}
</script>

<style lang="less" scoped>
.box {
  overflow: hidden;
  .back {
    width: 8.5vw;
    height: 8.5vw;
    margin-left: 4vw;
    margin-top: 5.133vw;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 50%;
    margin-bottom: 4.533vw;
  }
}
</style>
